$('#append-modal').remove();
$('body').append("<%= j(render('append', topic: @topic)) %>");
$('#append-modal').modal();
